import { PORT1 } from "@/api/config/servicePort";

import http from "@/api";
import {ResPage} from "@/api/interface";
import {LogItem} from "@/api/interface/log";

/**
 * 获取权限列表数据
 * @param params
 */
export const getLogList = (params: any) => {
	return http.get<ResPage<LogItem>>(PORT1 + `/Log/index`, params);
}

/**
 * 删除权限组
 */
export const delLog = (params: { id: string }) => {
	return http.get(PORT1 + `/Log/del`, params)
}
